import java.util.*;
class componentLibrary {
  Mod l;

  Map<String, Mod> lib;
  componentLibrary() {
    l=new modContainer(0);
    //lib.put(new String("oscIn"), new oscInMod(l, 0, 0, 0));
  }
  public Mod getMod(String name) {
    //return new oscInMod(l, 0, 0, 0);
    
    try {
      if (lib.containsKey(new String(name))) {
        Mod modClass = lib.get(new String(name));
        //println(modClass);
        //Class clazz = Class.forName(modClass);
        return (Mod) modClass;
      }
      else {
        return null;
      }
    }
    catch(Exception e) {
      return null;
    }
  }
}

